import request from '@/utils/request'

const UPLOAD_ACTION = '/superviseNotice/upload'

export default {
  action() {
    return UPLOAD_ACTION
  },

  getList(args) {
    return request.doGet('/superviseNotice/getLists', args)
  },

  getById(args) {
    return request.doGet('/superviseNotice/getById', args)
  },

  add(args) {
    return request.doPost('/superviseNotice/add', args)
  },

  edit(args) {
    return request.doPost('/superviseNotice/edit', args)
  },

  deleteById(args) {
    return request.doGet('/superviseNotice/deleteById', args)
  },

  downlaod(args) {
    return request.doDownload('/superviseNotice/download', args)
  },

  getOrganTypeList(args) {
    return request.doGet('/superviseNotice/getOrganTypeList', args)
  }
}

